package b2.util
{
	public class Profile
	{
		//0, 无调试; 1, 本地调试; 2, 远程调试
		public static const DEBUG:int = 0;
		public static const VERSION:String = "2.3.0";
		
		public static const VIP_DAILY_PRESENT_ACTIVITY_ID:String = "UM12071211271599";
		public static const URL_MIXTURE_PAGE:String = "http://app100627929.qzoneapp.com/pic/fuse.jpg"
		public static const URL_VIP:String = "http://pay.qq.com/qzone/index.shtml?aid=game100627929.op";
		public static const URL_VIPYear:String = "http://pay.qq.com/qzone/index.shtml?aid=game100627929.yop&paytime=year";
		
		public static var URL_DevelopPage:String; 
		public static var URL_GamePage:String;
		public static var URL_MainResource:String;
		public static var URL_PreludeResource:String;
		public static var URL_ConfigFile:String;
		public static var URL_SfsConfigFile:String;
		public static var URL_Action:String;
		public static var URL_GetToken:String;
		public static var URL_BuyGoods:String;
		public static var URL_Login:String;
		public static var URL_Friend:String;
		public static var URL_Music:String;
		
		//和后台通讯的密钥
		public static const serverSecret:String = "n.D1e.Pass10n";
		
		public function Profile()
		{
		}
		
		public static function setPlatform(pf:String):void
		{
			switch (pf)
			{
				case "pengyou":
					URL_DevelopPage = "http://app100627929.qzoneapp.com/";
					URL_GamePage = "http://apps.pengyou.com/100627929";
				break;
				case "qzone":
					URL_DevelopPage = "http://app100627929.qzone.qzoneapp.com/";
					URL_GamePage = "http://rc.qzone.qq.com/myhome/100627929";
				break;
				default:
					URL_DevelopPage = "http://127.0.0.1/b2qq/";
					URL_GamePage = "http://127.0.0.1/b2qq/";
			}
			URL_MainResource = URL_DevelopPage + "preload/b2_resource1.swf";
			URL_PreludeResource = URL_DevelopPage + "preload/prelude.swf";
			URL_ConfigFile = URL_DevelopPage + "config/config.xml";
			URL_SfsConfigFile = URL_DevelopPage + "config/sfs-config.xml";
			URL_Action = URL_DevelopPage + "actions/action.php";
			URL_GetToken = URL_DevelopPage + "actions/getToken.php";
			URL_BuyGoods = URL_DevelopPage + "actions/buyGoods.php";
			URL_Login = URL_DevelopPage + "actions/login.php";
			URL_Friend = URL_DevelopPage + "actions/friend.php";
			URL_Music = URL_DevelopPage + "preload/vitory.mp3";
		}

	}
}